<?php
$key = $form_view_config['key'];
$check = 'checked="checked"';
if(isset($result->$key)){
	if(empty($result->$key)){
		$check = '';
	}
}
?>
<div class="row_text_field_first">
	<table cellspacing="0" cellpadding="0" border="0" width="100%">
		<tr>
			<td class="left_text_field"><?=$form_view_config['text']?>:</td>
			<td class="right_text_field"><input <?=$check?> type="checkbox" class="custom_chk" name="<?=$form_view_config['name']?>" /></td>
		</tr>
	</table>
</div>